<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-progress_type" class="control-label col-xs-12 col-sm-2">{:__('Progress_type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-progress_type" data-rule="required" class="form-control selectpicker" name="row[progress_type]">
                {foreach name="progressTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.progress_type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label for="c-user_id" class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-user_name" class="control-label col-xs-12 col-sm-2">{:__('User_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_name" data-rule="required" class="form-control" name="row[user_name]" type="text" value="{$row.user_name}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-site_id" class="control-label col-xs-12 col-sm-2">{:__('Site_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-site_id" data-rule="required" data-source="site/index" class="form-control selectpage" name="row[site_id]" type="text" value="{$row.site_id}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-progress_building" class="control-label col-xs-12 col-sm-2">{:__('Progress_building')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-progress_building" data-rule="required" class="form-control" name="row[progress_building]" type="text" value="{$row.progress_building}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-progress_unit" class="control-label col-xs-12 col-sm-2">{:__('Progress_unit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-progress_unit" data-rule="required" class="form-control" name="row[progress_unit]" type="text" value="{$row.progress_unit}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-progress_quantities" class="control-label col-xs-12 col-sm-2">{:__('Progress_quantities')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-progress_quantities" data-rule="required" class="form-control" name="row[progress_quantities]" type="text" value="{$row.progress_quantities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-progress_unitprice" class="control-label col-xs-12 col-sm-2">{:__('Progress_unitprice')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-progress_unitprice" data-rule="required" class="form-control" name="row[progress_unitprice]" type="text" value="{$row.progress_unitprice}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-progress_amount" class="control-label col-xs-12 col-sm-2">{:__('Progress_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-progress_amount" data-rule="required" class="form-control" name="row[progress_amount]" type="text" value="{$row.progress_amount}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-progress_completions" class="control-label col-xs-12 col-sm-2">{:__('Progress_completions')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-progress_completions" data-rule="required" class="form-control" name="row[progress_completions]" type="text" value="{$row.progress_completions}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-progress_subtotal" class="control-label col-xs-12 col-sm-2">{:__('Progress_subtotal')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-progress_subtotal" data-rule="required" class="form-control" name="row[progress_subtotal]" type="text" value="{$row.progress_subtotal}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-progress_attribute" class="control-label col-xs-12 col-sm-2">{:__('Progress_attribute')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-progress_attribute" data-rule="required" class="form-control" name="row[progress_attribute]" type="text" value="{$row.progress_attribute}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-progress_tj_user_id" class="control-label col-xs-12 col-sm-2">{:__('Progress_tj_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-progress_tj_user_id" data-rule="required" data-source="progress/tj/user/index" class="form-control selectpage" name="row[progress_tj_user_id]" type="text" value="{$row.progress_tj_user_id}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-progress_tj_user_name" class="control-label col-xs-12 col-sm-2">{:__('Progress_tj_user_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-progress_tj_user_name" data-rule="required" class="form-control" name="row[progress_tj_user_name]" type="text" value="{$row.progress_tj_user_name}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-progress_submit_time" class="control-label col-xs-12 col-sm-2">{:__('Progress_submit_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-progress_submit_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[progress_submit_time]" type="text" value="{$row.progress_submit_time|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-progress_add_time" class="control-label col-xs-12 col-sm-2">{:__('Progress_add_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-progress_add_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[progress_add_time]" type="text" value="{$row.progress_add_time|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-progress_status" class="control-label col-xs-12 col-sm-2">{:__('Progress_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="progressStatusList" item="vo"}
            <label for="row[progress_status]-{$key}"><input id="row[progress_status]-{$key}" name="row[progress_status]" type="radio" value="{$key}" {in name="key" value="$row.progress_status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label for="c-progress_flag" class="control-label col-xs-12 col-sm-2">{:__('Progress_flag')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-progress_flag" data-rule="required" class="form-control selectpicker" name="row[progress_flag]">
                {foreach name="progressFlagList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.progress_flag"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label for="c-last_update_user_id" class="control-label col-xs-12 col-sm-2">{:__('Last_update_user_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-last_update_user_id" data-rule="required" data-source="last/update/user/index" class="form-control selectpage" name="row[last_update_user_id]" type="text" value="{$row.last_update_user_id}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-last_update_user_name" class="control-label col-xs-12 col-sm-2">{:__('Last_update_user_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-last_update_user_name" data-rule="required" class="form-control" name="row[last_update_user_name]" type="text" value="{$row.last_update_user_name}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-last_update_time" class="control-label col-xs-12 col-sm-2">{:__('Last_update_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-last_update_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[last_update_time]" type="text" value="{$row.last_update_time|datetime}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
